package fr.umlv.m2.jee.pmlv.service.planning;

import fr.umlv.m2.jee.pmlv.persistence.planning.RecordDate;
import fr.umlv.m2.jee.pmlv.persistence.subject.AbstractTheme;
import java.util.Date;

/**
 *
 * @author Stephanie
 */
public class DisplayRecordDate {
    private RecordDate recordDate;

    public DisplayRecordDate(RecordDate recordDate) {
            this.recordDate = recordDate;
    }


    public void setDeadLine(Date deadLine) {
            recordDate.setDeadLine(deadLine);
    }

    public Date getDeadLine() {
            return recordDate.getDeadLine();
    }

    public void setTheme(AbstractTheme theme) {
            recordDate.setTheme(theme);
    }

    public AbstractTheme getTheme() {
            return recordDate.getTheme();
    }

    public RecordDate getRecordDate() {
        return recordDate;
    }
}
